<?php
/*
 * Created on Jul 3, 2009
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>
<?php if(!empty($templates)):?>
	<?php foreach($templates as $val) :?>
	<?php
		$template_name = 'template/content_';
		if($val['para_value']!='' && $val['para_name']!='file'){			
			$template_name .= $val['temp']."_".$val['para_value'];			
		}
		else{
			$template_name .= $val['temp'];
		}
		echo $this->load->view($template_name, array('content' => $val, 'linkurl' => $linkurl));
	?>
	<?php endforeach;?>
<?php endif; ?>